<ul>
  <li *ngFor="let item of list;index as i;" listNabItem [index]="i" [current]="currentIndex" (click)="onNav($event,item, i)">{{item.data}}</li>
</ul>
